<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>top</title>
<link type="text/css" rel="stylesheet" href="${css_ctx }/main_style.css" />
</head>

<body>
<div id="top">
  <div class="logo block"><img src="${img_ctx }/main_logo.png" width="448" height="61" alt="logo" /></div>
  <ul class="nav1" style="float:right;">
    <li><span><a href="${ctx }/web/users/updatepwd.jsp" target="mainFrame"><img src="${img_ctx }/nav_6.gif" /></a></span><a href="${ctx }/web/users/updatepwd.jsp" target="mainFrame">修改密码</a></li>
    <li><span><a href="${ctx }/users?cmd=logout" target="_parent"><img src="${img_ctx }/nav_7.gif" /></a></span><a href="${ctx }/users?cmd=logout" target="_parent">注销</a></li>
  </ul>
  <ul class="nav block" >
	<!-- 超级管理员 -->
	<li><span><a href="${web_ctx }/welcome.jsp" target="mainFrame"><img src="${img_ctx }/nav_1.gif" /></a></span><a href="${web_ctx }/welcome.jsp" target="mainFrame">欢迎页面</a></li>
	<c:if test="${sessionScope.manager.urole =='0'}">
		<li><span><a href="${ctx }/users?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_2.gif" /></a></span><a href="${ctx }/users?cmd=list" target="mainFrame">用户管理</a></li>
		<li><span><a href="${ctx }/trains?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_3.gif" /></a></span><a href="${ctx }/trains?cmd=list" target="mainFrame">车站管理</a></li>
		<li><span><a href="${ctx }/common?cmd=listtree" target="mainFrame"><img src="${img_ctx }/nav_4.gif"  /></a></span><a href="${ctx }/common?cmd=listtree" target="mainFrame">规章管理</a></li>
		<li><span><a href="${ctx }/notices?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_8.gif" /></a></span><a href="${ctx }/notices?cmd=list" target="mainFrame">通知管理</a></li>
	    <li><span><a href="${ctx }/wtype?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_10.gif"  /></a></span><a href="${ctx }/wtype?cmd=list" target="mainFrame">职名学习</a></li>
		<li><span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame"><img src="${img_ctx }/nav_9.gif"  /></a></span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame">制度状态</a></li>
	</c:if>
	<!-- 段长组 -->
	<c:if test="${sessionScope.manager.urole =='1'}">
		<li><span><a href="${ctx }/notices?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_8.gif" /></a></span><a href="${ctx }/notices?cmd=list" target="mainFrame">通知管理</a></li>
	    <li><span><a href="${ctx }/trains?cmd=list_dz" target="mainFrame"><img src="${img_ctx }/nav_12.gif"  /></a></span><a href="${ctx }/trains?cmd=list_dz" target="mainFrame">审核状态</a></li>
		<li><span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame"><img src="${img_ctx }/nav_9.gif"  /></a></span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame">制度审核</a></li>
	</c:if>
	
	<!-- 审核组 -->
	<c:if test="${sessionScope.manager.urole =='2'}">
		<li><span><a href="${ctx }/notices?cmd=list" target="mainFrame"><img src="${img_ctx }/nav_8.gif" /></a></span><a href="${ctx }/notices?cmd=list" target="mainFrame">通知管理</a></li>
		<li><span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame"><img src="${img_ctx }/nav_12.gif"  /></a></span><a href="${ctx }/rules?cmd=list_sh&tid=0" target="mainFrame">审核状态</a></li>
		<li><span><a href="${ctx }/trains?cmd=submiting&tid=0" target="mainFrame"><img src="${img_ctx }/nav_3.gif" /></a></span><a href="${ctx }/trains?cmd=submiting&tid=0" target="mainFrame">审核提交</a></li>
	</c:if>
	<!-- 编制组 -->
	<c:if test="${sessionScope.manager.urole =='3'}">
		<li><span><a href="${ctx }/users?cmd=list_che" target="mainFrame"><img src="${img_ctx }/nav_2.gif" /></a></span><a href="${ctx }/users?cmd=list_che" target="mainFrame">用户管理</a></li>
		<li><span><a href="${ctx }/sworks?cmd=submiting" target="mainFrame"><img src="${img_ctx }/nav_3.gif" /></a></span><a href="${ctx }/sworks?cmd=submiting" target="mainFrame">车站提交</a></li>
	    <li><span><a href="${ctx }/rules?cmd=list_zt&tid=${mtrain.tid }" target="mainFrame"><img src="${img_ctx }/nav_10.gif"  /></a></span><a href="${ctx }/rules?cmd=list_zt&tid=${ mtrain.tid }" target="mainFrame">编制状态</a></li>
		<li><span><a href="${ctx }/sworks?cmd=word" target="mainFrame"><img src="${img_ctx }/nav_13.gif"  /></a></span><a href="${ctx }/sworks?cmd=word" target="mainFrame">数据导出</a></li>
	</c:if>
	
	<!-- 车站组 -->
	<c:if test="${sessionScope.manager.urole =='4'}">	
	</c:if>	
	<!-- 学习用户 -->
  </ul>
</div>
</body>
</html>
